<include file="YiCms/Tpl/User/Default/Public_header.html"/>
<div class="tabs_header">
<ul>
<li class="active"><a href="#">最新动态</a></li>
</ul>
<style>
	li {text-align:left}
</style>
</div>
	<if condition="empty($news)">
		<div><h2>无动态</h2></div>
	<else/>
		<ul>
			<volist name="news" id="vo">
				<li>
					<span class="user">{YICMS:$vo.author}</span> 于 
					<span class="time">{YICMS:$vo.time|switchtime=###}</span><br>
					@<a href="/article/{YICMS:$vo.id}" target="_blank">{YICMS:$vo.title}</a>
					{YICMS:$vo.content|msubstr=###,0,80,'utf-8',false}<br/>
					<if condition="!empty($vo['pic'])">
						<img src="{YICMS:$YICMS_PUBLIC}/news/m_{YICMS:$vo.pic}"/>
					</if>
					<if condition="!empty($vo['video'])">
						<object width="500" height="400" classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0">
							<param name="src" value="{YICMS:$vo.video}" />
							<param name="quality" value="high" />
							<param name="allowscriptaccess" value="always" />
							<param name="allowfullscreen" value="true" />
							<param name="wmode" value="transparent" />
							<embed src="{YICMS:$vo.video}" type="application/x-shockwave-flash" width="500" height="400" quality="high" wmode="transparent"  allowscriptaccess="always" allowfullscreen="true"/>
						</object>
					</if>
				</li>
			</volist>	
		</ul>
	</if>	
<include file="YiCms/Tpl/User/Default/Public_footer.html"/>